package io.renren.modules.photo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @Author huan.xu
 * @Date 2022/11/2 11:14
 * @Description
 */
@Data
@ApiModel(value = "标签列表")
public class PhotoLabelDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    /**
     *标签名称
     */
    @ApiModelProperty(value = "标签名称")
    private String name;

    @ApiModelProperty(value = "创建时间")
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private Date createDate;

    /**
     *上传人
     */
    @ApiModelProperty(value = "上传人")
    private String createUser;

    /**
     *照片总数
     */
    @ApiModelProperty(value = "照片总数")
    private Integer photoInfoSize =0;

}
